home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Panorama
/
Panorama - Disk 30B (1988-06-08)(Pacific North-West Amigas Club)[WB].zip
/
Panorama - Disk 30B (1988-06-08)(Pacific North-West Amigas Club)[WB].adf
/
DNet1.20
/
client
/
quitdnet.c
< prev
Wrap
C/C++ Source or Header
|
1988-03-22
|
486b
|
32 lines
/*
* QUITDNET.C
*
* DNET (c)Copyright 1988, Matthew Dillon, All Rights Reserved.
*
* QUITDNET [-Nnet]
*
*/
main(ac,av)
char *av[];
{
int ok;
char *host = NULL;
{
register short i;
for (i = 1; i < ac; ++i) {
if (strncmp(av[i], "-N", 2) == 0) {
host = av[i] + 2;
continue;
}
}
}
ok = DQuit(host); /* NULL ok */
if (ok)
puts("success, remote end should quit in a sec.");
else
puts("DNET master port for network not found");
}